package com.frogs.ucenter.v1.service;

import com.frogs.system.web.api.request.Request;
import com.frogs.system.web.api.response.Response;

public interface UserShippingAddressService {

	/**
	 * 获取列表
	 * @param request
	 * @return
	 * @throws Exception 
	 */
	Response getPageList(Request request) throws Exception;
	/**
	 * 获取未知用户列表
	 * @param request
	 * @return
	 * @throws Exception 
	 */
	Response getFollowedPageList(Request request) throws Exception;

    /**
     * 查询用户地址
     * @param request
     * @return
     * @throws Exception 
     */
	Response getObject(Request request) throws Exception;

    /**
     * 添加用户地址
     * @param request
     * @return
     * @throws Exception 
     */
	Response insert(Request request) throws Exception;
	/**
	 * 添加未知用户地址
	 * @param request
	 * @return
	 * @throws Exception 
	 */
	Response insertFollowedAddress(Request request) throws Exception;

	/**
	 * 修改用户地址
	 * @param request
	 * @return
	 * @throws Exception 
	 */
	Response update(Request request) throws Exception;
	/**
	 * 修改未知用户地址
	 * @param request
	 * @return
	 * @throws Exception 
	 */
	Response updateFollowedAddress(Request request) throws Exception;

	/**
     * 删除用户地址
     * @param request
     * @return
	 * @throws Exception 
     */
	Response delete(Request request) throws Exception;
	/**
	 * 删除未知用户地址
	 * @param request
	 * @return
	 * @throws Exception 
	 */
	Response deleteFollowedAddress(Request request) throws Exception;
	
	/**
	 * 设置默认地址
	 * @param request
	 * @return
	 * @throws Exception 
	 */
	Response setDefault(Request request) throws Exception;
	
	/**
	 * 获取默认地址
	 * @param request
	 * @return
	 * @throws Exception 
	 */
	Response showDefault(Request request) throws Exception;
}